OPC Studio User's Guide and Reference
UAAttributeDataPayload<TValue> Constructor(Int64,DateTime,DateTime,TValue)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComplexEventProcessing Namespace > UAAttributeDataPayload<TValue> Class > UAAttributeDataPayload<TValue> Constructor : UAAttributeDataPayload<TValue> Constructor(Int64,DateTime,DateTime,TValue)
Initializes a new event payload from values of its fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal status As Long, _
   ByVal serverTimestamp As Date, _
   ByVal sourceTimestamp As Date, _
   ByVal value As TValue _
)
'Usage
 
Dim status As Long
Dim serverTimestamp As Date
Dim sourceTimestamp As Date
Dim value As TValue
 
Dim instance As New UAAttributeDataPayload(Of TValue)(status, serverTimestamp, sourceTimestamp, value)
public UAAttributeDataPayload<TValue>( 
   long status,
   DateTime serverTimestamp,
   DateTime sourceTimestamp,
   TValue value
)
public:
UAAttributeDataPayload<TValue>( 
   int64 status,
   DateTime serverTimestamp,
   DateTime sourceTimestamp,
   TValue^ value
)

Parameters

status
serverTimestamp
sourceTimestamp
value
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also